package camel.corp.universalcopy.screenshot;

import android.content.Context;
import android.view.OrientationEventListener;
import com.camel.corp.universalcopy.screenshot.ScreenshotActivity;

class c extends OrientationEventListener {
  c(ScreenshotActivity paramScreenshotActivity, Context paramContext) { super(paramContext); }
  
  public void onOrientationChanged(int paramInt) {
    paramInt = ScreenshotActivity.a(this.a).getRotation();
    if (paramInt != ScreenshotActivity.f(this.a)) {
      ScreenshotActivity.a(this.a, paramInt);
      try {
        if (ScreenshotActivity.g(this.a) != null)
          ScreenshotActivity.g(this.a).release(); 
        if (ScreenshotActivity.h(this.a) != null)
          ScreenshotActivity.h(this.a).setOnImageAvailableListener(null, null); 
        ScreenshotActivity.i(this.a);
        return;
      } catch (Exception exception) {
        exception.printStackTrace();
      } 
    } 
  }
}


/* Location:              D:\Users\alienware\AndroidStudioProjects\Lazero\sample\sampler\classes-dex2jar\com\camel.jar!\camel\cor\\universalcopy\screenshot\ScreenshotActivity$c.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       1.0.7
 */